package com.kaka.bus.bean;

import java.util.List;

/**
 * Created by zhangqi on 2017/1/4.
 */

public class FaceBean {

    /**
     * time_used : 320
     * request_id : 1457432550,b70ab3a8-ee37-4f90-a2bd-007e23a970e2
     * faces : [{"quality":38.22176746384912,"quality_threshold":30.1,"rect":{"left":0.18,"top":0.18,"width":0.5966667,"height":0.5966667},"token":"Rihc25px-qjfYWBq5MRdy2HaE7FWKSaEj-J2qLEyMLY="}]
     */

    private int time_used;
    private String request_id;
    private List<FacesBean> faces;

    public void setTime_used(int time_used) {
        this.time_used = time_used;
    }

    public void setRequest_id(String request_id) {
        this.request_id = request_id;
    }

    public void setFaces(List<FacesBean> faces) {
        this.faces = faces;
    }

    public int getTime_used() {
        return time_used;
    }

    public String getRequest_id() {
        return request_id;
    }

    public List<FacesBean> getFaces() {
        return faces;
    }

    public static class FacesBean {
        /**
         * quality : 38.22176746384912
         * quality_threshold : 30.1
         * rect : {"left":0.18,"top":0.18,"width":0.5966667,"height":0.5966667}
         * token : Rihc25px-qjfYWBq5MRdy2HaE7FWKSaEj-J2qLEyMLY=
         */

        private double quality;
        private double quality_threshold;
        private RectBean rect;
        private String token;

        public void setQuality(double quality) {
            this.quality = quality;
        }

        public void setQuality_threshold(double quality_threshold) {
            this.quality_threshold = quality_threshold;
        }

        public void setRect(RectBean rect) {
            this.rect = rect;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public double getQuality() {
            return quality;
        }

        public double getQuality_threshold() {
            return quality_threshold;
        }

        public RectBean getRect() {
            return rect;
        }

        public String getToken() {
            return token;
        }

        public static class RectBean {
            /**
             * left : 0.18
             * top : 0.18
             * width : 0.5966667
             * height : 0.5966667
             */

            private double left;
            private double top;
            private double width;
            private double height;

            public void setLeft(double left) {
                this.left = left;
            }

            public void setTop(double top) {
                this.top = top;
            }

            public void setWidth(double width) {
                this.width = width;
            }

            public void setHeight(double height) {
                this.height = height;
            }

            public double getLeft() {
                return left;
            }

            public double getTop() {
                return top;
            }

            public double getWidth() {
                return width;
            }

            public double getHeight() {
                return height;
            }
        }
    }
}
